/*
*********************************************************************************************************
*                                     MICRIUM BOARD SUPPORT SUPPORT
*
*                          (c) Copyright 2003-2014; Micrium, Inc.; Weston, FL
*
*               All rights reserved.  Protected by international copyright laws.
*               Knowledge of the source code may NOT be used to develop a similar product.
*               Please help us continue to provide the Embedded community with the finest
*               software available.  Your honesty is greatly appreciated.
*********************************************************************************************************
*/

/*
*********************************************************************************************************
*
*                                      BOARD SUPPORT PACKAGE (BSP)
*
*                                            RENESAS RX64M
*                                               on the
*                                     RSKRX64M DEVELOPMENT BOARD
*
* Filename      : bsp.h
* Version       : V1.00
* Programmer(s) : CM
*                 DC
*********************************************************************************************************
*/


/*
*********************************************************************************************************
*                                                 MODULE
*********************************************************************************************************
*/

#ifndef  BSP_PRESENT
#define  BSP_PRESENT

#include "inttypes.h"
#include  "k_api.h"

/*
*********************************************************************************************************
*                                                 EXTERNS
*********************************************************************************************************
*/

#ifdef   BSP_MODULE
#define  BSP_EXT
#else
#define  BSP_EXT  extern
#endif

#define  CPU_INT_GLOBAL_EN(void)                  setpsw_i()
#define  CPU_INT_VECT_TBL_BASE_SET(p_vect_tbl)    set_intb((void *)p_vect_tbl)
#define  CPU_ISR                                  void


typedef            void      (*CPU_FNCT_VOID)(void);
/*
*********************************************************************************************************
*                                          GLOBAL VARIABLES
*********************************************************************************************************
*/


/*
*********************************************************************************************************
*                                         FUNCTION PROTOTYPES
*********************************************************************************************************
*/

void  BSP_Init (void);


/*
*********************************************************************************************************
*                                              MODULE END
*********************************************************************************************************
*/

#endif
